﻿<UserControl x:Class="TubeStar.TodoTask"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
             Padding="2"
             Margin="0,10,0,0"
             MouseEnter="UserControl_MouseEnter"
             MouseLeave="UserControl_MouseLeave">

    <Grid x:Name="todoGrid" MouseLeftButtonDown="Appointment_MouseLeftButtonDown">
        <Grid.RowDefinitions>
            <RowDefinition Height="*" />
            <RowDefinition Height="*" />
        </Grid.RowDefinitions>

        <StackPanel Orientation="Vertical" Grid.Row="0"  Margin="10,5,5,5" >
            <TextBlock x:Name="appointmentTextBlock" Text="Blah Blah" HorizontalAlignment="Left" VerticalAlignment="Center"
                       FontSize="22" FontWeight="ExtraBold" Foreground="WhiteSmoke" TextWrapping="Wrap"/>
            <TextBlock x:Name="txtHoursLeft" Text="Blah Blah" HorizontalAlignment="Left" VerticalAlignment="Center"
                       FontSize="20" Foreground="WhiteSmoke" TextWrapping="Wrap"/>
        </StackPanel>
        <Button x:Name="btnCancel" Grid.Row="1" Width="120" Height="30" HorizontalAlignment="Right" Content="Cancel" Click="CloseButton_Click" Margin="0,0,2,2"></Button>
    </Grid>
</UserControl>
